<?php
/**
 * @Author: kendy
 * @Date:   2019-11-14 16:49:13
 * @Last Modified by:   jiayanting
 * @Last Modified time: 2019-11-15 14:39:12
 */
namespace app\api\controller;
use think\Db;
use think\Request;  
use app\api\model\TourManages;
class Tourmanage extends Common
{
    /**
     * [tourManagePage 导游管理页面]
     * @Author   kendy
     * @DateTime 2019-11-14T16:42:56+0800
     * @return   [type]                   [description]
     */ 
    public function tourManagePage()
    {
    	if(Request::instance()->isPost()){ 
    		$guideId = input('post.user_id');
            if(empty($guideId))
    		return $this->apiReturn('400','用户信息为空',0); 
            $tm = new TourManages(); 
    		$tm->getGuideManInfo($guideId);
    	}
        
    }
    /**
     * [guideInfoById 通过id获取导游信息]
     * @Author   kendy
     * @DateTime 2019-11-15T14:37:25+0800
     * @return   [type]                   [description]
     */
  public function guideInfoById()
  { 
     if(Request::instance()->isPost()){ 
            $guideId = input('post.user_id');
            if(empty($guideId))
            return $this->apiReturn('400','用户信息为空',0); 
            $tm = new TourManages(); 
            $tm->getGuideInfo($guideId);
        }
  }


}















